From ea362dd8da3981a29fe2ab64b377b2e8ab50db71 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Thu, 1 Jun 2017 10:48:04 +0200 Subject: [PATCH] x86/MSI: improve memory usage in struct msi_desc There's no reason to have both a 4-byte hole and 4 bytes of tail padding. Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper --- xen/include/asm-x86/msi.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xen/include/asm-x86/msi.h b/xen/include/asm-x86/msi.h index a5de6a1328..213ee53f72 100644 --- a/xen/include/asm-x86/msi.h +++ b/xen/include/asm-x86/msi.h @@ -119,10 +119,9 @@ struct msi_desc { }; struct pci_dev *dev; int irq; + int remap_index; /* index in interrupt remapping table */ struct msi_msg msg; /* Last set MSI message */ - - int remap_index; /* index in interrupt remapping table */ }; /* -- 2.30.2